﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package com.tremormedia.acudeo.events {
    import flash.events.*;
    import com.tremormedia.acudeo.*;
    import com.tremormedia.acudeo.ad.*;

    public class AdEvent extends WrappedEvent {

        public static const VIDEOEND:String = "adVideoEnd";
        public static const OVERLAYSHOWN:String = "overlayShown";
        public static const START:String = "adStart";
        public static const READY:String = "adReady";
        public static const VIDEOSTART:String = "adVideoStart";
        public static const VIDEOPROGRESS:String = "adVideoProgress";
        public static const DISPLAY_BANNERS:String = "displayBanners";
        public static const AD_FOUND:String = "adFound";
        public static const OVERLAYEXPAND:String = "overlayExpand";
        public static const AD_NOT_FOUND:String = "adNotFound";
        public static const LOADPROGRESS:String = "adLoadProgress";
        public static const OVERLAY_EXPANDED_CLOSE:String = "overlayExpandedClose";
        public static const VIDEOSTOP:String = "adVideoStop";
        public static const STOP:String = "adStop";
        public static const CLICK:String = "adClick";
        public static const HIDE_BANNERS:String = "hideBanners";
        public static const PAUSED:String = "adPaused";
        public static const OVERLAYCLOSE:String = "overlayClose";
        public static const ERROR:String = "error";
        public static const OVERLAYCLICK:String = "overlayClick";
        public static const OVERLAYOPEN:String = "overlayOpen";
        public static const END:String = "adEnd";
        public static const RESUMED:String = "adResumed";
        public static const RESET:String = "adReset";

        public function AdEvent(_arg1:Object){
            super(_arg1);
        }
        public function get ad():IAd{
            return (Ad.getAd(_event.ad));
        }
        override public function clone():Event{
            return (new AdEvent(this._event));
        }

    }
}//package com.tremormedia.acudeo.events 
